package com.wxy;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.wxy.entity.Salemonthdata;
import com.wxy.mapper.SalemonthdataMapper;
import com.wxy.service.EchartAnalysisService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class testAnalysis {

    @Autowired
    private EchartAnalysisService echartAnalysisService;
    @Autowired
    private SalemonthdataMapper salemonthdataMapper;

    @Test
    public void test(){
        QueryWrapper queryWrapperFirst = new QueryWrapper();
        queryWrapperFirst.ge("time","2022-06");
        queryWrapperFirst.le("time","2022-08");
        System.out.println(salemonthdataMapper.selectList(queryWrapperFirst));
    }
}
